package com.niiwoo.civet.user.service.duboo;

import com.alibaba.dubbo.config.annotation.Service;
import com.niiwoo.civet.user.dto.request.DripSummaryInfoDTO;
import com.niiwoo.civet.user.service.DripSummaryDubboService;
import com.niiwoo.civet.user.service.local.UserDataService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;

@Slf4j
@Service(version = "1.0.0")
public class DripSummaryDubboServiceImpl implements DripSummaryDubboService {

    @Autowired
    private UserDataService userDataService;

    @Override
    public DripSummaryInfoDTO getMyDripSummaryInfo(String userId) {
        return userDataService.getMyDripSummaryInfo(userId);
    }
}
